package com.ytzl.itrip.common;

/**
 * 系统错误编码，根据业务定义如下
 * <br/>
 * 酒店主业务biz：1开头（10000）<br/>
 * 评论：10001 ——10100<br/>
 * 酒店详情：10101 ——10200<br/>
 * 订单：10201 ——10400<br/>
 * 搜索search：2开头（20000）<br/>
 * 认证auth：3开头（30000）<br/>
 * 支付trade：4开头（40000）<br/>
 *
 * @author hduser
 */
public class ErrorCode {

    /*认证模块错误码-start*/
    public final static String AUTH_UNKNOWN = "30000";
    public final static String AUTH_USER_ALREADY_EXISTS = "30001";//用户已存在
    public final static String AUTH_AUTHENTICATION_FAILED = "30002";//认证失败
    public final static String AUTH_PARAMETER_ERROR = "30003";//用户名密码参数错误，为空
    public final static String AUTH_ACTIVATE_FAILED = "30004";//邮件注册，激活失败
    public final static String AUTH_REPLACEMENT_FAILED = "30005";//置换token失败
    public final static String AUTH_TOKEN_INVALID = "30006";//token无效
    public static final String AUTH_ILLEGAL_USERCODE = "30007";//非法的用户名

	
	/*认证模块错误码-end*/

    /*酒店主业务biz-start*/
    public final static String BIZ_QUERY_LINK_USER_FAILED = "100401";//查询常用联系人列表失败
    public final static String BIZ_TOKEN_INVALID = "100000";//Token失效
    public final static String BIZ_SAVE_NEW_USER_LINK_USER_FAILED = "100411";//新添常用联系人失败
    public final static String BIZ_SAVE_NEW_USER_LINK_USER_IS_NOT_NULL = "100412";//添加常用联系人参数不能为空
    public final static String BIZ_MODIFY_USER_LINK_USER_FAILED = "100421";//新添常用联系人失败
    public final static String BIZ_MODIFY_USER_LINK_USER_IS_NOT_NULL = "100422";//添加常用联系人参数不能为空
    public final static String BIZ_REMOVE_CONTACT_IS_BINDING = "100431";//所选的常用联系人中有与某条待支付的订单关联的项，无法删除
    public final static String BIZ_REMOVE_USER_LINK_USER_FAILED = "100432";//删除常用联系人失败
    public final static String BIZ_PLEASE_SELECT_REMOVE_CONTACT = "100433";//请选择要删除的常用联系人
    public final static String BIZ_QUERY_PARAM_ORDERTYPE = "100501";//请传递参数orderType
    public final static String BIZ_QUERY_PARAM_ORDERSTATUS = "100502";//请传递参数orderStatus
    public final static String BIZ_QUERY_GET_PERSONAL_ORDER_LIST_FAILED = "100503";//查询个人订单列表错误
    public final static String BIZ_QUERY_PARAM_ORDERID = "100525";//请传递参数orderId
    public final static String BIZ_QUERY_IS_NO_ORDERINFO = "100526";//没有相关的订单信息
    public final static String BIZ_QUERY_GET_PERSONAL_ORDERINFO_FAILED = "100527";//获取个人订单信息错误
    public final static String BIZ_QUERY_GET_HOTEL_DESC_FAILED = "100021";//获取酒店相关信息错误
    public final static String BIZ_HODEL_ORDER_NO_ROOM_INFO = "100530";//没有相关的房型信息
    public final static String BIZ_ITRIP_TYPE_LIST_FAILED = "100019";//获取旅行类型列表错误
    public final static String BIZ_UPLOAD_FILE_NOT_MULTIPART = "100008";//请求的内容不是文件上传的内容
    public final static String BIZ_UPLOAD_FILE_SIZE_INVALID = "100009";//文件大小超限
    public final static String BIZ_UPLOAD_FILE_MUST_BE_0_TO_4 = "100007";//上传的文件数不正确，必须是大于1小于等于4
    public final static String BIZ_UPLOAD_FILE_FAILED = "100006";//文件上传失败
    public final static String BIZ_DELETE_UPLOAD_FILE_FAILED = "100010";//删除的文件不存在
    public final static String BIZ_ADD_COMMENT_IS_NOT_ORDERID = "100005";//新增评论，订单ID不能为空
    public final static String BIZ_ADD_COMMENT_IS_NOT_NULL = "100004";//不能提交空，请填写评论信息
    public final static String BIZ_ADD_COMMENT_FAILED = "100003";//添加评论失败
    public final static String BIZ_QUERY_HOTEL_FEATURE_FAILED = "10205";//系统异常,获取失败
    public final static String BIZ_QUERY_TRADE_AREA_IS_NOT_CITYID = "10203";//CityId不能为空
    public final static String BIZ_QUERY_TRADE_AREA_FAILED = "10204";//系统异常,获取失败
    public static final String BIZ_QUERY_HOTCITY_TYPE_IS_NOT_NULL = "10201";//type不能为空
    public static final String BIZ_QUERY_HOTCITY_SYSTEM_ERROR = "10202";//系统异常获取失败

    /*酒店主业务biz-end*/
}
